\hypertarget{class_alfar_engine_1_1_engine}{
\section{\-Alfar\-Engine.\-Engine \-Class \-Reference}
\label{class_alfar_engine_1_1_engine}\index{\-Alfar\-Engine.\-Engine@{\-Alfar\-Engine.\-Engine}}
}


\-The \-Main class that encapsulate all the information and operation of the \hyperlink{class_alfar_engine_1_1_engine}{\-Engine}.  


\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_alfar_engine_1_1_engine_a52e9912fdfa628119687d3d66956725d}{\-Initialize} (\-Game p\-Game, \-Graphics\-Device\-Manager p\-Manager)
\begin{DoxyCompactList}\small\item\em \-Initialize the engine. \end{DoxyCompactList}\item 
static void \hyperlink{class_alfar_engine_1_1_engine_ac14f915893a634804ee10afa8c0c102a}{\-Update} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Update all the state of the \hyperlink{class_alfar_engine_1_1_engine}{\-Engine} (\-Animations, physics, movement etc...) \end{DoxyCompactList}\item 
static void \hyperlink{class_alfar_engine_1_1_engine_ac8938923ce9ba3d165984615b90527ec}{\-Draw} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Draw the \-Cameras viewports onto the backbuffer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Properties}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object}\mbox{[}$\,$\mbox{]} \hyperlink{class_alfar_engine_1_1_engine_a35eb0a83f1cefc4bd7d05efb0c268fda}{root}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em \-Return the array of root of the engine. 0 is the upper. max\-Layer is the lower layer. \end{DoxyCompactList}\item 
\hypertarget{class_alfar_engine_1_1_engine_a63ffc0cc92f5de6fcd55798a679a3da2}{
static \-Content\-Manager {\bfseries \-Content}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}
\label{class_alfar_engine_1_1_engine_a63ffc0cc92f5de6fcd55798a679a3da2}

\item 
\hypertarget{class_alfar_engine_1_1_engine_afddc1fa4e53fd1208309f9eac85ebf4d}{
static \-Sprite\-Batch {\bfseries sprite\-Batch}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}
\label{class_alfar_engine_1_1_engine_afddc1fa4e53fd1208309f9eac85ebf4d}

\item 
\hypertarget{class_alfar_engine_1_1_engine_a80fd7a5d83b44b5705a1badc9bb33e69}{
static \-Game {\bfseries game}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}
\label{class_alfar_engine_1_1_engine_a80fd7a5d83b44b5705a1badc9bb33e69}

\item 
\hypertarget{class_alfar_engine_1_1_engine_a5624cddc65f71031362620fc2351d91a}{
static int {\bfseries max\-Layer}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}
\label{class_alfar_engine_1_1_engine_a5624cddc65f71031362620fc2351d91a}

\item 
\hypertarget{class_alfar_engine_1_1_engine_abed969b738bae78cb2b94e7b3682bf32}{
static \-Vector2 {\bfseries resolution}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}
\label{class_alfar_engine_1_1_engine_abed969b738bae78cb2b94e7b3682bf32}

\item 
static float \hyperlink{class_alfar_engine_1_1_engine_ae81cdaae63518dba89e1dd00f4d72a87}{ambient\-Light}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em the ambient light factor. 0 mean no ambient light (dark) 1 mean full ambient. \-Default is 0 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The \-Main class that encapsulate all the information and operation of the \hyperlink{class_alfar_engine_1_1_engine}{\-Engine}. 



\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_alfar_engine_1_1_engine_ac8938923ce9ba3d165984615b90527ec}{
\index{\-Alfar\-Engine\-::\-Engine@{\-Alfar\-Engine\-::\-Engine}!\-Draw@{\-Draw}}
\index{\-Draw@{\-Draw}!AlfarEngine::Engine@{\-Alfar\-Engine\-::\-Engine}}
\subsubsection[{\-Draw}]{\setlength{\rightskip}{0pt plus 5cm}static void \-Alfar\-Engine.\-Engine.\-Draw (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{class_alfar_engine_1_1_engine_ac8938923ce9ba3d165984615b90527ec}


\-Draw the \-Cameras viewports onto the backbuffer. 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}
\hypertarget{class_alfar_engine_1_1_engine_a52e9912fdfa628119687d3d66956725d}{
\index{\-Alfar\-Engine\-::\-Engine@{\-Alfar\-Engine\-::\-Engine}!\-Initialize@{\-Initialize}}
\index{\-Initialize@{\-Initialize}!AlfarEngine::Engine@{\-Alfar\-Engine\-::\-Engine}}
\subsubsection[{\-Initialize}]{\setlength{\rightskip}{0pt plus 5cm}static void \-Alfar\-Engine.\-Engine.\-Initialize (
\begin{DoxyParamCaption}
\item[{\-Game}]{p\-Game, }
\item[{\-Graphics\-Device\-Manager}]{p\-Manager}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{class_alfar_engine_1_1_engine_a52e9912fdfa628119687d3d66956725d}


\-Initialize the engine. 


\begin{DoxyParams}{\-Parameters}
{\em p\-Game} & \-The \-Game class you use the engine in\\
\hline
{\em p\-Manager} & \-The \-Graphics \-Manager constructed in your game class\\
\hline
\end{DoxyParams}
\hypertarget{class_alfar_engine_1_1_engine_ac14f915893a634804ee10afa8c0c102a}{
\index{\-Alfar\-Engine\-::\-Engine@{\-Alfar\-Engine\-::\-Engine}!\-Update@{\-Update}}
\index{\-Update@{\-Update}!AlfarEngine::Engine@{\-Alfar\-Engine\-::\-Engine}}
\subsubsection[{\-Update}]{\setlength{\rightskip}{0pt plus 5cm}static void \-Alfar\-Engine.\-Engine.\-Update (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{class_alfar_engine_1_1_engine_ac14f915893a634804ee10afa8c0c102a}


\-Update all the state of the \hyperlink{class_alfar_engine_1_1_engine}{\-Engine} (\-Animations, physics, movement etc...) 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}


\subsection{\-Property \-Documentation}
\hypertarget{class_alfar_engine_1_1_engine_ae81cdaae63518dba89e1dd00f4d72a87}{
\index{\-Alfar\-Engine\-::\-Engine@{\-Alfar\-Engine\-::\-Engine}!ambient\-Light@{ambient\-Light}}
\index{ambient\-Light@{ambient\-Light}!AlfarEngine::Engine@{\-Alfar\-Engine\-::\-Engine}}
\subsubsection[{ambient\-Light}]{\setlength{\rightskip}{0pt plus 5cm}float \-Alfar\-Engine.\-Engine.\-ambient\-Light\hspace{0.3cm}{\ttfamily  \mbox{[}static, get, set\mbox{]}}}}
\label{class_alfar_engine_1_1_engine_ae81cdaae63518dba89e1dd00f4d72a87}


the ambient light factor. 0 mean no ambient light (dark) 1 mean full ambient. \-Default is 0 

\hypertarget{class_alfar_engine_1_1_engine_a35eb0a83f1cefc4bd7d05efb0c268fda}{
\index{\-Alfar\-Engine\-::\-Engine@{\-Alfar\-Engine\-::\-Engine}!root@{root}}
\index{root@{root}!AlfarEngine::Engine@{\-Alfar\-Engine\-::\-Engine}}
\subsubsection[{root}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Game\-Object} \mbox{[}$\,$\mbox{]} \-Alfar\-Engine.\-Engine.\-root\hspace{0.3cm}{\ttfamily  \mbox{[}static, get\mbox{]}}}}
\label{class_alfar_engine_1_1_engine_a35eb0a83f1cefc4bd7d05efb0c268fda}


\-Return the array of root of the engine. 0 is the upper. max\-Layer is the lower layer. 



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-E\-:/\-X\-N\-A/alfar\-Engine/\-Alfar\-Engine/\-Engine.\-cs\end{DoxyCompactItemize}
